<?php 
/*rses= new Doctrine_Collection();
//$Courses->current();*/
?>
<div class="course_short_view">
  <?php
  $total=count($Courses);
  $i=0;
  while($i<$total){
    $j=0;

  ?>
    <ul class="course_list">
        <?php while($i<$total && $j<4 ){ ?>
        <li class="course_item">
              <?php 
              $Course=$Courses->get($i);
              include_partial("courses/renderCourseHomeItem",array("Course"=>$Course)); ?>
        </li>


        <?php 
        $i++;
        $j++;
        }?>
    </ul>
  <?php 
  } 
  ?>
</div>
